//package com.other.springbootconfigureorder.test;
//
//import com.gantang.order.dto.CustomFeatureTableDto;
//import com.gantang.order.dto.EncryptCustomFeatureTableDto;
//import com.gantang.order.service.OrderFeatureTableService;
//import com.gantang.order.util.CustomFeatureTableUtil;
//import com.gantang.prd.cfgmgmt.customconfig.dto.*;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.Map;
//
//@RestController
//@RequestMapping("customConfiguration")
//public class EncryptCustomConfigurationController {
//    @Autowired
//    OrderFeatureTableService orderFeatureTableService;
//
//    @PostMapping("monitor")
//    public Map<String, String> monitor() {
//        return orderFeatureTableService.monitorPool();
//    }
//
//    @PostMapping("select")
//    public VerificationResultDto select(@RequestBody VerificationParamsDto verificationParamsDto) {
//        return orderFeatureTableService.checkSelected(verificationParamsDto);
//    }
//
//    @PostMapping("findConfigOrder")
//    public CustomConfigurationDto findConfigOrder(String featureTableKey) {
//        return orderFeatureTableService.findConfigOrder(featureTableKey);
//    }
//
//    @PostMapping("removeConfigOrder")
//    public BaseResultDto removeConfigOrder(String featureTableKey) {
//        return orderFeatureTableService.removeConfigOrder(featureTableKey);
//    }
//
//    @PostMapping("upsertConfigOrder")
//    public BaseResultDto upsertConfigOrder(@RequestBody EncryptCustomFeatureTableDto customFeatureTableDto) {
//        return orderFeatureTableService.upsertConfigOrder(customFeatureTableDto);
//    }
//
//    @PostMapping("confirmSelect")
//    public ConfirmSelectResultDto confirmSelect(@RequestBody VerificationParamsDto verificationParamsDto) {
//        return orderFeatureTableService.getSelectFeature(verificationParamsDto);
//    }
//
//    @PostMapping("encrypt")
//    public EncryptCustomFeatureTableDto encrypt(@RequestBody CustomFeatureTableDto customFeatureTableDto) {
//        return CustomFeatureTableUtil.encrypt(customFeatureTableDto);
//    }
//}